<template>
  <div v-for="(item, index) in list" :key="index">
    <p v-if="item.meta.show || item.meta.breadcrumbShow">
      {{ item.meta.title }}
    </p>
  </div>
</template>

<script setup>
defineProps({
  list: {
    type: Object,
    default: () => []
  }
});
</script>

<style lang="scss" scoped>
div {
  & > p {
    color: #4e5969;
    user-select: none;
    font-size: 14px;
    &::after {
      content: "/";
      margin: 0 10px;
    }
  }
  &:last-child {
    & > p {
      font-weight: bold;
      color: #1d2129;
      &::after {
        content: "";
      }
    }
  }
}
</style>
